<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Query employees</title>
</head>

<body>
<h1>Query results</h1>
<%
    String sfsHttp = request.getParameter("name");
    if (sfsHttp==null)
    	sfsHttp = "";
%>
<form name="queryForm" action="match.do" method="post">
<p>Filter: <input name="fbCmd" type="text" id="fbCmd" value="10000001" maxlength="50" />
<input name="fbParams" type="text" id="fbParams" value="1,2" maxlength="50" />
<input type="submit" name="Submit" id="button" value="Query" /></p>
</form>
<table border="0" cellpadding="3" cellspacing="0">
	<tr>
		<td width="200" bgcolor="#CCCCCC">ID</td>
		<td width="80" bgcolor="#CCCCCC">Name</td>
        <td width="100" bgcolor="#CCCCCC">Title</td>
        <td width="60" bgcolor="#CCCCCC">Gender</td>
        <td width="70" bgcolor="#CCCCCC">Birth</td>
        <td width="16" bgcolor="#CCCCCC"></td>
	</tr>
	<%
	for (int i=0; i < 5; i++) {
	%>
	<tr>
		<td><%="id " + i%></td>
		<td><%="name " + i%></td>
        <td><%="title " + i%></td>
        <td><%=i%2 >0 ? "Male" : "Female"%></td>
        <td><a href="delete?id=<%="id " + 1%>" title="Delete">X</a></td>
	</tr>
	<%}%>
</table>

</body>
</html>
